From 7118250f935b39a2df5d27be61c1484b087ed823 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 16 Nov 2010 11:28:33 +0000 Subject: [PATCH] amd iommu: Fix HV crash with 32bit pv_ops kernel Signed-off-by: Wei Wang Tested-by: Conny Seidel --- xen/include/asm-x86/hvm/svm/amd-iommu-proto.h | 3 --- xen/include/xen/iommu.h | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/xen/include/asm-x86/hvm/svm/amd-iommu-proto.h b/xen/include/asm-x86/hvm/svm/amd-iommu-proto.h index e2795f52cf..e414b1446f 100644 --- a/xen/include/asm-x86/hvm/svm/amd-iommu-proto.h +++ b/xen/include/asm-x86/hvm/svm/amd-iommu-proto.h @@ -31,9 +31,6 @@ #define DMA_32BIT_MASK 0x00000000ffffffffULL -extern int amd_iommu_debug; -extern int amd_iommu_perdev_intremap; - #define AMD_IOMMU_DEBUG(fmt, args...) \ do \ { \ diff --git a/xen/include/xen/iommu.h b/xen/include/xen/iommu.h index 003fd7625d..f516bcca16 100644 --- a/xen/include/xen/iommu.h +++ b/xen/include/xen/iommu.h @@ -30,6 +30,8 @@ extern bool_t iommu_enabled; extern bool_t force_iommu, iommu_verbose; extern bool_t iommu_workaround_bios_bug, iommu_passthrough; extern bool_t iommu_snoop, iommu_qinval, iommu_intremap; +extern bool_t amd_iommu_debug; +extern bool_t amd_iommu_perdev_intremap; extern struct rangeset *mmio_ro_ranges; -- 2.30.2